.PHONY:all
all:test test_pipe proc1 proc2
test:test.cpp
	g++ -o $@ $^
test_pipe:test_pipe.cpp
	g++ -o $@ $^
proc1:proc1.cpp
	g++ -o $@ $^
proc2:proc2.cpp
	g++ -o $@ $^
.PHONY:clean
clean:
	rm -f test proc1 proc2